#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
int main()
{
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    //printf("this is a bug!\n");
    
    //pid_t pid= fork();
    //if(pid==0)
    //{   
    //    while(1)
    //    {
    //        printf("This is child process,pid = %d, ppid = %d\n",getpid(), getppid());
    //        sleep(2);
    //        //exit(-1);
    //    }
    //}
    //else
    //{   
    //    while(1)
    //    {
    //        printf("This is parent process, pid = %d, ppid = %d\n",getpid(), getppid());
    //        sleep(2);
    //        exit(-1);
    //    }

    //}
    
    
    while(1){
        printf("pid = %d\n",getpid());
    }


    return 0;
}

